import React, { useState, useEffect } from 'react';
import {history} from 'umi';

export default function(props){
  const [state, setState] = useState()

  useEffect(() => {

  }, [])

  const toOrder=()=>{
    history.goBack()
  }

  return (
    <div>
            <button onClick={()=>{toOrder()}}>返回订单</button>
    </div>
  )
}
